<%@ page language="java"  import="recommenRatings.domain.*,java.util.Date"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Refresh" content="5;url=FrontController?res=photos.jsp"> 
<title>RecommenRatings - Foto Subida</title>
</head>
<body>
<%
	String currentUser = (String) session.getAttribute("session.user");
	PhotoManager pM = new PhotoManager(currentUser);
	UserManager uM = new UserManager();
	String currentUserPOID = uM.userPOID(currentUser);
	
	Photo p = new Photo(request.getParameter("file"),new Date()); 
	pM.addPhoto(p);
	
%>
<p>
Su foto ha sido subida correctamente.
</p>
<p>
Redirigido automatico en 5 seg...
</p>
</body>
</html>